import {ref, onMounted, watch, useAttrs, computed, defineProps} from 'vue';
export function CustomSelectProps() {
    return {
        modelValue: {
            type: [String, Number], default: () => ''
        }
    }
}
export function CustomSelectEmits() {
    return ['update:modelValue']
}
export function CustomSelectMixin(props, {emit}) {
    const attrs = useAttrs();
    const ready = ref(false);
    const loading = ref(false);
    const options = ref(props.options);
    const showValue = computed({
        get() {
            return props.modelValue
        }, set(value) {
            emit('update:modelValue', value)
        }
    })
    onMounted(() => {
    })
    return {
        ready, loading, options, showValue,  attrs
    };
}
